// A-S-M team
// Project: BattleCity
// Created: 25.06.2011
// Last change: 25.06.2011
// Description: bullet object

#include "bullet.h"
#include "play.h"

Bullet::Bullet(CL_String sprite_name, GObject* owner, float x, float y, Direction direction) : MovingObject(sprite_name, x, y, BULLET, BULLETSPEED)
{
	_owner = owner;
	setDirection(direction);
	startMove();
}

void Bullet::update(int dt)
{
	MovingObject::update(dt);
}